from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/(.*)', admin.site.root),                                                    # Automaticky admin
    (r'^static/(?P<path>.*)$', 'django.views.static.serve',
    {'document_root': '/media/vault/pyScripts/freedom99/static/'}),                       # Slozka pro staticke veci jako obrazky
#    (r'^article/$', 'freedom99.articles.views.list'),                                     # Zobrazeni seznamu clanku
#    (r'^article/(?P<articleID>\d+)/$', "freedom99.articles.views.detail"),                # Zobrazeni clanku
#    (r'^article/(?P<articleID>\d+)/Addcomment/$', "freedom99.articles.views.AddComment"), # Stranka pro pridavani komentu
#    (r'^linkovac/AddLink/$', "freedom99.linkovac.views.AddLink"),                         # Stranka pro pridavani ke clankum
#    (r'^linkovac/$', 'freedom99.linkovac.views.list'),                                    # Seznam vsech linku
#    (r'^linkovac/(?P<linkID>\d+)/$', "freedom99.linkovac.views.detail"),                  # Zobrazeni linku
    (r'^$', 'freedom99.index.main'),                                                      # Hlavni stranka
)
